//
// ���ļ����� JavaTM Architecture for XML Binding (JAXB) ����ʵ�� v2.2.11 ��ɵ�
// ����� <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// �����±���Դģʽʱ, �Դ��ļ��������޸Ķ�����ʧ��
// ���ʱ��: 2015.05.26 ʱ�� 03:50:35 PM CST 
//


package edu.stanford.bmir.protege.web.server.transform.service.org.iso25964;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>anonymous complex type�� Java �ࡣ
 * 
 * <p>����ģʽƬ��ָ�����ڴ����е�Ԥ�����ݡ�
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Thesaurus" type="{http://iso25964.org/}ThesaurusStruct"/&gt;
 *         &lt;choice maxOccurs="unbounded" minOccurs="0"&gt;
 *           &lt;element name="GroupRelationship" type="{http://iso25964.org/}GroupRelationship"/&gt;
 *           &lt;element name="TopLevelRelationship" type="{http://iso25964.org/}TopLevelRelationship"/&gt;
 *           &lt;element name="AssociativeRelationship" type="{http://iso25964.org/}AssociativeRelationship"/&gt;
 *           &lt;element name="HierarchicalRelationship" type="{http://iso25964.org/}HierarchicalRelationship"/&gt;
 *           &lt;element name="CompoundEquivalence" type="{http://iso25964.org/}CompoundEquivalence"/&gt;
 *           &lt;element name="SplitNonPreferredTerm"&gt;
 *             &lt;complexType&gt;
 *               &lt;complexContent&gt;
 *                 &lt;extension base="{http://iso25964.org/}ThesaurusTerm"&gt;
 *                 &lt;/extension&gt;
 *               &lt;/complexContent&gt;
 *             &lt;/complexType&gt;
 *           &lt;/element&gt;
 *         &lt;/choice&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="scope" default="full"&gt;
 *         &lt;simpleType&gt;
 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
 *             &lt;enumeration value="full"/&gt;
 *             &lt;enumeration value="update-only"/&gt;
 *             &lt;enumeration value="custom-selection"/&gt;
 *           &lt;/restriction&gt;
 *         &lt;/simpleType&gt;
 *       &lt;/attribute&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "thesaurus",
    "groupRelationshipOrTopLevelRelationshipOrAssociativeRelationship"
})
@XmlRootElement(name = "ISO25964Interchange")
public class ISO25964Interchange {

    @XmlElement(name = "Thesaurus", required = true)
    protected ThesaurusStruct thesaurus;
    @XmlElements({
        @XmlElement(name = "GroupRelationship", type = GroupRelationship.class),
        @XmlElement(name = "TopLevelRelationship", type = TopLevelRelationship.class),
        @XmlElement(name = "AssociativeRelationship", type = AssociativeRelationship.class),
        @XmlElement(name = "HierarchicalRelationship", type = HierarchicalRelationship.class),
        @XmlElement(name = "CompoundEquivalence", type = CompoundEquivalence.class),
        @XmlElement(name = "SplitNonPreferredTerm", type = ISO25964Interchange.SplitNonPreferredTerm.class)
    })
    protected List<Object> groupRelationshipOrTopLevelRelationshipOrAssociativeRelationship;
    @XmlAttribute(name = "scope")
    protected String scope;

    /**
     * ��ȡthesaurus���Ե�ֵ��
     * 
     * @return
     *     possible object is
     *     {@link ThesaurusStruct }
     *     
     */
    public ThesaurusStruct getThesaurus() {
        return thesaurus;
    }

    /**
     * ����thesaurus���Ե�ֵ��
     * 
     * @param value
     *     allowed object is
     *     {@link ThesaurusStruct }
     *     
     */
    public void setThesaurus(ThesaurusStruct value) {
        this.thesaurus = value;
    }

    /**
     * Gets the value of the groupRelationshipOrTopLevelRelationshipOrAssociativeRelationship property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the groupRelationshipOrTopLevelRelationshipOrAssociativeRelationship property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getGroupRelationshipOrTopLevelRelationshipOrAssociativeRelationship().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link GroupRelationship }
     * {@link TopLevelRelationship }
     * {@link AssociativeRelationship }
     * {@link HierarchicalRelationship }
     * {@link CompoundEquivalence }
     * {@link ISO25964Interchange.SplitNonPreferredTerm }
     * 
     * 
     */
    public List<Object> getGroupRelationshipOrTopLevelRelationshipOrAssociativeRelationship() {
        if (groupRelationshipOrTopLevelRelationshipOrAssociativeRelationship == null) {
            groupRelationshipOrTopLevelRelationshipOrAssociativeRelationship = new ArrayList<Object>();
        }
        return this.groupRelationshipOrTopLevelRelationshipOrAssociativeRelationship;
    }

    /**
     * ��ȡscope���Ե�ֵ��
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getScope() {
        if (scope == null) {
            return "full";
        } else {
            return scope;
        }
    }

    /**
     * ����scope���Ե�ֵ��
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setScope(String value) {
        this.scope = value;
    }


    /**
     * <p>anonymous complex type�� Java �ࡣ
     * 
     * <p>����ģʽƬ��ָ�����ڴ����е�Ԥ�����ݡ�
     * 
     * <pre>
     * &lt;complexType&gt;
     *   &lt;complexContent&gt;
     *     &lt;extension base="{http://iso25964.org/}ThesaurusTerm"&gt;
     *     &lt;/extension&gt;
     *   &lt;/complexContent&gt;
     * &lt;/complexType&gt;
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "")
    public static class SplitNonPreferredTerm
        extends ThesaurusTerm
    {


    }

}
